package com.android.sunflower.logic.room.daos

import androidx.room.*
import com.android.sunflower.logic.room.entities.PlantedF

@Dao
interface PlantedFDao {
    @Query("select * from plantedf")
    fun selectAll():List<PlantedF>

    @Insert()
    fun insertPlantedF(vararg pls:PlantedF)

    @Delete
    fun delete(pl:PlantedF)

    @Update
    fun update(pl:PlantedF)
}